import { Plugin } from "../../core/interface";
import { ReactElement } from "react";

export interface SwitchThemeMenuItemProps {
  onClick(): void;
}

export interface RenderSwitchThemeProps {
  onClick(): void;
}

export interface SwitchThemeProps {
  children?: (props: RenderSwitchThemeProps) => ReactElement;
}

export interface ThemePlugin extends Plugin {
  SwitchTheme: (props: SwitchThemeProps) => ReactElement;
  SwitchThemeButton: () => ReactElement;
  SwitchThemeMenuItem: (props: SwitchThemeMenuItemProps) => ReactElement;
}
